/*
 * 文件名：RussiaDiamondConst.java
 * 版权：Copyright 2006-2012 Huawei Tech. Co. Ltd. All Rights Reserved. 
 * 描述： RussiaDiamondConst.java
 * 修改人：lKF58628
 * 修改时间：2012-3-9
 * 修改内容：新增
 */
package util;

/**
 * 俄罗斯方块常量类
 * <p>
 * <p>
 * 
 * <pre>
 * </pre>
 * 
 * @author lKF58628
 * @version RCS ND V100R002C02 2012-3-9
 * @since RCS ND V100R002C02
 */
public interface RussiaDiamondConst
{
    // const uint MAX_COL = 10; // 0 - 9
    // const uint MAX_ROW = 20; // 0 - 19
    // const uint MAX_ROTATE = 4; // 0 - 3
    // const uint MAX_BLOCK = 7; // 0 - 6

    /**
     * 一行最大数目
     */
    public final static int MAX_COL = 10;

    /**
     * 一列最大数目
     */
    public final static int MAX_ROW = 20;

    /**
     * 四个方向
     */
    public final static int MAX_ROTATE = 4;

    /**
     * 7种图像
     */
    public final static int MAX_BLOCK = 7;

    /**
     * 操作动作的位数
     */
    public final static int OPERATE_NUMBER = 4;

    /**
     * 一方满屏数据200
     */
    public final static int ONE_PART_FULL_DATA_NUMBER = 200;

    /**
     * 高度
     */
    public final static int HEIGHT = 20;

    /**
     * 宽度
     */
    public final static int WIDTH = 10;

    /**
     * 两方频摹所有数据
     */
    public final static int BOTH_FULL_DATA_NUMBER = 400;

    /**
     * 最多的步数目
     */
    public final static int MAX_STEP = 4;

    /**
     * 5分钟超时
     */
    public final static int TIME_OUT = 300000;

    /**
     * 田字形方块
     */
    public final static int BLOCK_O = 0;

    /**
     * 一字形方块
     */
    public final static int BLOCK_I = 1;

    /**
     * T字形方块
     */
    public final static int BLOCK_T = 2;

    /**
     * L字形方块
     */
    public final static int BLOCK_L = 3;

    /**
     * J字形方块
     */
    public final static int BLOCK_J = 4;

    /**
     * Z字形方块
     */
    public final static int BLOCK_Z = 5;

    /**
     * S字形方块
     */
    public final static int BLOCK_S = 6;

    /**
     * 方向0
     */
    public final static int ROTATE_0 = 0;

    /**
     * 方向1
     */
    public final static int ROTATE_1 = 1;

    /**
     * 方向2
     */
    public final static int ROTATE_2 = 2;

    /**
     * 方向3
     */
    public final static int ROTATE_3 = 3;

}
